package com.lifeng.shop.lifengshop.mapper;

import com.lifeng.shop.lifengshop.pojo.entry.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    int deleteByPrimaryKey(Integer tid);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer tid);

    Category selectLikeConcatByTypeName(String typeName);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}